package com.lyf.practice.dao.mybatis;

import com.lyf.practice.domain.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/24
 * @VERSION 1.0
 * @DESC
 */
@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user")
    List<UserBean> queryAll();
}
